<?php 
$arr=explode('/',$_SERVER[SCRIPT_NAME]);
$len=count($arr);
$goodsImg = "http://www.ewangpf.com/";
 ?>



<div id="header" class="png_bg">

    <div id="head_wrap" class="container_12">
    
        <!-- start of logo - you could replace this with an image of your logo -->
        <div id="logo" class="grid_4"> 
          <h1>e网批发管理平台</h1>
        </div>
        <!-- end logo -->
        
        <!-- start control panel -->
        <div id="controlpanel" class="grid_8">
        
            <ul>
                <li><a href="tencent://message/?Menu=yes&uin=237528462& Service=300&sigT=45a1e5847943b64c6ff3990f8a9e644d2b31356cb0b4ac6b24663a3c8dd0f8aa12a595b1714f9d45">服务QQ号：12345678</a></li>
                <li><a>服务电话：12345678</a></li>
                <li><a>服务微信：12345678</a></li>
                <li><a href="loginout.php" class="last">退出登录</a></li>
            </ul>
            
        </div>
        <!-- end control panel -->
    
        <!-- start navigation -->
        <div id="navigation" class=" grid_12">
           
            <ul>
            
                <li> <a href="index.php" <?php if ($arr[($len-1)]=='index.php'|| $arr[($len-1)]=='file2.php'){ ?> class="active"       
                <?php } ?>  > 订单管理 </a></li>
                <li><a href="goods2.php"  <?php if ($arr[($len-1)]=='addgoodsXiangQingTu.php'|| $arr[($len-1)]=='goods2.php'|| $arr[($len-1)]=='addgoods.php' || $arr[($len-1)]=='addgoodsimg.php' || $arr[($len-1)]=='tejia.php' || $arr[($len-1)]=='addgoods2.php' || $arr[($len-1)]=='xihuan.php'|| $arr[($len-1)]=='youhuiquan.php' || $arr[($len-1)]=='tejiatime.php' || $arr[($len-1)]=='addtime.php' ){ ?> class="active"<?php } ?>  >商品管理</a></li>

                <li><a href="youhui.php" <?php if ($arr[($len-1)]=='youhui.php'|| $arr[($len-1)]=='addyouhui.php'){ ?> class="active"       
                <?php } ?> >平台优惠券</a></li> 

                <li><a href="shequ.php?cityid=0&categroyid=0"  <?php if ($arr[($len-1)]=='shequ.php'|| $arr[($len-1)]=='addshop.php'|| $arr[($len-1)]=='brokerage.php' || $arr[($len-1)]=='shopyouhui.php'  || $arr[($len-1)]=='addshopyouhui.php'){ ?> class="active" <?php } ?> >厂商管理</a></li>

                <li> <a href="ad.php" <?php if ($arr[($len-1)]=='ad.php' || $arr[($len-1)]=='addad.php'){ ?> class="active"       
                <?php } ?>  > 首页广告 </a></li>

                <li> <a href="fenlei.php" <?php if ($arr[($len-1)]=='fenlei.php'|| $arr[($len-1)]=='addfenlei.php'|| $arr[($len-1)]=='addzifen.php' || $arr[($len-1)]=='fenlei_leixing.php' || $arr[($len-1)]=='addfenleiLeixing.php' || $arr[($len-1)]=='addguige.php' || $arr[($len-1)]=='ordersFirst.php' || $arr[($len-1)]=='addordersFirst.php'){ ?> class="active"
                <?php } ?>  > 厂商分类管理 </a></li>

                <li> <a href="buyer.php?type=0" <?php if ($arr[($len-1)]=='buyer.php' || $arr[($len-1)]=='addbuyer.php'){ ?> class="active"
                <?php } ?>  > 买家服务 </a></li>
                
                <li> <a href="dongtai.php?path=1" <?php if ($arr[($len-1)]=='dongtai.php'|| $arr[($len-1)]=='userfile2.php'){ ?> class="active"       
                <?php } ?>  > 贴吧管理 </a></li>
                <li> <a href="city.php" <?php if ($arr[($len-1)]=='city.php'|| $arr[($len-1)]=='addcity.php'){ ?> class="active"       
                <?php } ?>  > 市场管理 </a></li>

                <li><a href="express.php" <?php if ($arr[($len-1)]=='express.php' || $arr[($len-1)]=='addexpress.php'){ ?> class="active"       
                <?php } ?> >快递公司管理</a></li> 

                <li><a href="user.php" <?php if ($arr[($len-1)]=='user.php'|| $arr[($len-1)]=='adduser.php'){ ?> class="active"       
                <?php } ?> >商户管理</a></li> 
                <li><a href="xitong.php" <?php if ($arr[($len-1)]=='xitong.php'|| $arr[($len-1)]=='banben.php'|| $arr[($len-1)]=='addbanben.php'|| $arr[($len-1)]=='fankui.php'|| $arr[($len-1)]=='yingxiao.php'|| $arr[($len-1)]=='addsresou.php'|| $arr[($len-1)]=='xieyi.php'|| $arr[($len-1)]=='addxieyi.php' || $arr[($len-1)]=='service.php' || $arr[($len-1)]=='freightRisk.php' || $arr[($len-1)]=='fanquan.php'|| $arr[($len-1)]=='erweima.php' || $arr[($len-1)]=='shopxieyi.php' || $arr[($len-1)]=='notice.php' || $arr[($len-1)]=='aboutus.php' || $arr[($len-1)]=='freight.php'){ ?> class="active"       
                <?php } ?> >系统管理</a></li>
                <li><a href="homeFenlei.php" <?php if ($arr[($len-1)]=='addhomeFenlei_cat_tu.php'|| $arr[($len-1)]=='homeFenlei_cat_tu.php'|| $arr[($len-1)]=='homeFenlei.php'|| $arr[($len-1)]=='addhomeFenlei.php'){ ?> class="active"       
                <?php } ?> >首页分类</a></li>
                <li><a href="quyuKuaidi.php" <?php if ($arr[($len-1)]=='quyuKuaidi.php'){ ?> class="active"       
                <?php } ?> >区域快递信息</a></li>

                <li><a href="saohuo.php?type=1" <?php if ($arr[($len-1)]=='addSaohuoActivityTu.php'||$arr[($len-1)]=='saohuo.php'||$arr[($len-1)]=='saohuo_img.php'||$arr[($len-1)]=='saohuo_goods.php'){ ?> class="active"
                <?php } ?> >扫货管理</a></li>
                <li><a href="xianshizhekou.php?type=2" <?php if ($arr[($len-1)]=='addXianSActivityTu.php'||$arr[($len-1)]=='xianshizhekou.php'||$arr[($len-1)]=='xianshizhekou_img.php'||$arr[($len-1)]=='xianshizhekou_goods.php' || $arr[($len-1)]=='shopzhekou.php'){ ?> class="active"       
                <?php } ?> >限时折扣管理</a></li>
                <li><a href="shouxuanjingpin.php?type=3" <?php if ($arr[($len-1)]=='addShouxActivityTu.php'||$arr[($len-1)]=='shouxuanjingpin.php'||$arr[($len-1)]=='shouxuanjingpin_img.php'||$arr[($len-1)]=='shouxuanjingpin_goods.php'){ ?> class="active"       
                <?php } ?> >首选精品</a></li>
                <li><a href="paihangbang.php?type=4" <?php if ($arr[($len-1)]=='addPaihActivityTu.php'||$arr[($len-1)]=='paihangbang.php'||$arr[($len-1)]=='paihangbang_img.php'){ ?> class="active"       
                <?php } ?> >排行榜</a></li>
                <li><a href="nixiangyaode.php?type=5" <?php if ($arr[($len-1)]=='addNiXActivityTu.php'||$arr[($len-1)]=='nixiangyaode.php'||$arr[($len-1)]=='nixiangyaode_img.php'||$arr[($len-1)]=='nixiangyaode_goods.php'){ ?> class="active"       
                <?php } ?> >你想要的</a></li>
                <li><a href="tiantianshangxin.php?type=6" <?php if ($arr[($len-1)]=='addTianTianActivityTu.php'||$arr[($len-1)]=='tiantianshangxin.php'||$arr[($len-1)]=='tiantianshangxin_img.php'){ ?> class="active"       
                <?php } ?> >天天上新</a></li>
                <li><a href="remen_shichang.php" <?php if ($arr[($len-1)]=='addremen_shichang.php'||$arr[($len-1)]=='remen_shichang.php'||$arr[($len-1)]=='remen_shichang_img.php' ||$arr[($len-1)]=='addremen_shichangTu.php'){ ?> class="active"       
                <?php } ?> >热门市场</a></li>
                <li><a href="jingxuan_shop.php" <?php if ($arr[($len-1)]=='jingxuan_shop.php'||$arr[($len-1)]=='addjingxuan_shop_tu.php'){ ?> class="active"       
                <?php } ?> >精选厂商</a></li>
                <li><a href="youhuijuan_tu.php" <?php if ($arr[($len-1)]=='youhuijuan_tu.php'||$arr[($len-1)]=='addyouhuijuan_tu.php'){ ?> class="active"       
                <?php } ?> >APP首页优惠券活动图</a></li>
                <li><a href="kuaixun.php" <?php if ($arr[($len-1)]=='kuaixun.php'|| $arr[($len-1)]=='addkuaixun.php'){ ?> class="active"       
                <?php } ?> >APP快讯</a></li>
                <li><a href="watermanage.php" <?php if ($arr[($len-1)]=='watermanage.php'|| $arr[($len-1)]=='addwatermanage.php'){ ?> class="active"       
                <?php } ?> >流水管理</a></li>
                <li><a href="wallet.php?t=shop" <?php if ($arr[($len-1)]=='wallet.php'|| $arr[($len-1)]=='addwallet.php' || $arr[($len-1)]=='walletMoney.php'){ ?> class="active"       
                <?php } ?> >钱包系统</a></li>
                <li><a href="yaoqing.php?t=shop" <?php if ($arr[($len-1)]=='yaoqingDetail.php'|| $arr[($len-1)]=='yaoqing.php' || $arr[($len-1)]=='yaoqing.php'){ ?> class="active"       
                <?php } ?> >邀请管理</a></li>
                <li><a href="Fare/index.php?c=Index&a=index1#fare_list">后台管理</a></li>
<!--                 <li><a href="authority.php?t=shop" <?php if ($arr[($len-1)]=='authority.php'|| $arr[($len-1)]=='authority.php' || $arr[($len-1)]=='authority.php'){ ?> class="active"       
                <?php } ?> >权限管理</a></li> -->
            </ul>
        </div>
        <!-- end navigation -->
     
    </div><!-- end headwarp  -->
</div><!-- end header -->